Einhugur OpenDocument Text Plugin for Xojo

Paragraph.AppendImage Method

Appends image to the paragraph.

AppendImage(
   value as String,
   mediaType as EinhugurODT.PictureTypes,
   width as Double,
   height as Double,
   unit as EinhugurODT.LengthUnit) as EinhugurODT.DrawFrame

Parameters

value
Value to carry the raw image data.
mediaType
Picture type.

Nil will be returned if passing unknown here.
width
Width of the DrawFrame that will be created to display the image.
height
Height of the DrawFrame that will be created to display the image.
unit
Unit for the width and height.

Returns

EinhugurODT.DrawFrame
Newly created draw frame.

Remarks

See Also

Paragraph Class